{extend name="public/iframe" /}
{block name="top"}
{:load_assets('select2,form,datatable','css')}
{/block}
{block name="content"}
<div class="card card-custom-tabs">
    <div class="card-body">
        <div class="tab-content">
            <div class="tab-pane fade active show" id="tab11" role="tabpanel">
                <div class="d-none" id="search-form">
                    <form method="post">
                        <div class="row">
                            <div class="col-12 col-sm-6 col-md-4 col-lg-3 col-xxl-2">
                                <div class="row mb-1">
                                    <label  class="col-4 col-form-label text-nowrap text-truncate d-flex justify-content-start justify-content-md-center justify-content-lg-end">小组名称</label>
                                    <div class="col-8">
                                        <input type="text" class="form-control form-control-sm" name="groups_name" value="">
                                        <input type="hidden" name="groups_name-operate" value="like">
                                    </div>
                                </div>
                            </div>
                           
                            <div class="col-12 col-sm-6 col-md-4 col-lg-3 col-xxl-2">
                                <div class="row mb-1">
                                    <label  class="col-4 col-form-label text-nowrap text-truncate d-flex justify-content-start justify-content-md-center justify-content-lg-end">状态</label>
                                    <div class="col-8">
                                        <select name="status"  class="form-select form-select-sm" data-control="select2" data-hide-search="true">
                                            <option value="">全部</option>
                                            <option value="1">启用</option>
                                            <option value="0">禁用</option>
                                        </select>
                        
                                        <input type="hidden" name="status-operate" value="=">
                                    </div>
                                </div>
                            </div>
                            <div class="col-12 col-sm-6 col-md-4 col-lg-3 col-xxl-2">
                                <div class="row mb-1">
                                    <label  class="col-4"></label>
                                    <div class="col-8">
                                        <button type="button" class="btn btn-primary btn-sm btn-submit"><i class="fas fa-check-circle"></i>提交</button>
                                        <button type="button" class="btn btn-secondary btn-sm search-toggle"><i class="fas fa-angle-double-up"></i>收起</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div id="toolbar">
                    <a href="javascript:;" class="btn btn-primary btn-sm btn-add" data-url="{:url('add')}" data-height="500px" data-width="800px"><i class="fa fa-plus-circle"></i>添加</a>
                    <a href="javascript:;" class="btn btn-danger btn-sm need-checked btn-del-multi"><i class="fa fa-trash-alt"></i>删除</a>
                    <button type="button" class="btn btn-dark btn-sm search-toggle"  data-bs-toggle="tooltip" title="展开或收起搜索栏" data-bs-dismiss="click"><i class="fa fa-search"></i>搜索</button>
                </div>
                <table id="datatable">

                </table>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="bottom"}
{:load_assets('select2,form,datatable','js')}
{:load_module_assets()}
{/block}